.borderBox {
  box-sizing: border-box;
}
header {
  width: 10rem;
  height: 1.30952381rem;
  background-color: #cf4cff;
  position: relative;
}
header .scan {
  width: 0.78571429rem;
  height: 1rem;
  background-image: url("../images/home_scan.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0.16666667rem;
  left: 0.5952381rem;
  overflow: hidden;
}
header #search {
  width: 6.66666667rem;
  height: 0.71428571rem;
  border-radius: 0.23809524rem;
  border: 1px solid transparent;
  position: absolute;
  top: 0.23809524rem;
  left: 1.66666667rem;
  overflow: hidden;
  font-size: 0.47619048rem;
  box-sizing: border-box;
  padding-left: 0.5952381rem;
}
header button {
  width: 0.47619048rem;
  height: 0.47619048rem;
  background: url("../images/home_search_btn_06.png") transparent;
  background-size: contain;
  position: absolute;
  top: 0.35714286rem;
  left: 7.5rem;
  overflow: hidden;
  border: none;
}
header .message {
  width: 0.71428571rem;
  height: 0.95238095rem;
  background-image: url("../images/home_message.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0.23809524rem;
  left: 8.92857143rem;
  overflow: hidden;
}
.swiper {
  width: 10rem;
  height: 4.28571429rem;
}
.swiper img {
  width: 10rem;
  height: 4.28571429rem;
}
.nav {
  width: 10rem;
  height: 1.78571429rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-evenly;
  justify-items: center;
  font-size: 0.38095238rem;
  margin: 0.47619048rem 0 0.35714286rem;
}
.nav li {
  box-sizing: border-box;
  width: 2.02380952rem;
  height: 1.78571429rem;
  background-color: #cf4cff;
  text-align: center;
  padding-bottom: 0.11904762rem;
  border-radius: 0.47619048rem;
}
.nav li a {
  color: #ffffff;
}
.nav li a img {
  box-sizing: border-box;
  margin: 0.11904762rem 0.47619048rem;
  width: 0.95238095rem;
  height: 0.95238095rem;
}
.headline {
  background-color: #cf4cff;
  width: 10rem;
  height: 1.42857143rem;
  position: relative;
}
.headline h4 {
  width: 1.42857143rem;
  height: 0.95238095rem;
  font-size: 0.47619048rem;
  position: absolute;
  top: 0.23809524rem;
  left: 0.5952381rem;
  overflow: hidden;
  color: aliceblue;
}
.headline p {
  font-size: 0.38095238rem;
  position: absolute;
  top: 0.83333333rem;
  left: 1.9047619rem;
  overflow: hidden;
  color: aliceblue;
}
.headline img {
  position: absolute;
  top: 0rem;
  left: 5.23809524rem;
  overflow: hidden;
  width: 3.33333333rem;
  height: 1.42857143rem;
}
.goods {
  margin-bottom: 1.42857143rem;
  padding-top: 0.35714286rem;
  background-color: #f8e5ff;
}
.goods .hot {
  padding-bottom: 0.47619048rem;
  width: 9.28571429rem;
  height: 4.28571429rem;
  display: block;
  margin: 0rem auto;
  border: 0.02380952rem solid transparent;
  border-radius: 0.23809524rem;
  position: relative;
  background-image: url("../images/home_hot_bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  color: #ffffff;
}
.goods .hot img {
  width: 3.21428571rem;
  height: 3.57142857rem;
  position: absolute;
  top: 0.47619048rem;
  left: 5.5952381rem;
  overflow: hidden;
}
.goods .hot h3 {
  width: 2.14285714rem;
  height: 0.71428571rem;
  background-color: #cf4cff;
  font-size: 0.38095238rem;
  position: absolute;
  top: 0rem;
  left: 0rem;
  overflow: hidden;
  border-radius: 0.35714286rem;
  text-align: center;
  padding: 0.11904762rem 0.28571429rem 0.11904762rem 0.28571429rem;
  box-sizing: border-box;
}
.goods .hot .des-long {
  position: absolute;
  top: 0.95238095rem;
  left: 0.71428571rem;
  overflow: hidden;
  font-size: 0.47619048rem;
  line-height: 0.5952381rem;
}
.goods .hot .des {
  position: absolute;
  top: 2.38095238rem;
  left: 0.71428571rem;
  overflow: hidden;
  font-size: 0.45238095rem;
}
.goods .hot .price {
  color: red;
  position: absolute;
  top: 3.33333333rem;
  left: 0.71428571rem;
  overflow: hidden;
  font-size: 0.42857143rem;
}
.goods .hot .price span {
  font-size: 0.5952381rem;
}
.goods .hot .buy {
  position: absolute;
  top: 3.33333333rem;
  left: 2.85714286rem;
  overflow: hidden;
  width: 1.66666667rem;
  height: 0.71428571rem;
  background-color: #ff3352;
  border-radius: 0.23809524rem;
  text-align: center;
  padding: 0;
}
.goods .hot .buy a {
  display: block;
  width: 1.66666667rem;
  height: 0.5952381rem;
  padding-top: 0.19047619rem;
  color: #ffffff;
  font-size: 0.33333333rem;
}
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 10rem;
  height: 1.42857143rem;
  box-sizing: border-box;
  padding: 0.11904762rem 0;
  background-color: #ebb2ff;
  display: flex;
  justify-content: space-around;
  justify-items: center;
}
.footer-nav li a {
  display: block;
  color: black;
}
.footer-nav li a img {
  width: 0.71428571rem;
  height: 0.71428571rem;
  z-index: 10;
  margin-bottom: 0.11904762rem;
}
.footer-nav li a p {
  font-size: 0.38095238rem;
}
